Don't access the parent level, there might not be one
authorKristian Rietveld <kris@gtk.org>
Tue, 8 Sep 2009 13:51:10 +0000 (15:51 +0200)
committerKristian Rietveld <kris@gtk.org>
Tue, 8 Sep 2009 13:52:18 +0000 (15:52 +0200)
commit16c5339ea8209ebc38cab417c9116d360eb9bac6
tree60db633765d64bd22e097f0ad0de078b29fe5e80
parent113d21801b4550058d10cd324da24f688c903793
Don't access the parent level, there might not be one

Use the index instead, that can be -1.  A unit test has been added as
well.
gtk/gtktreemodelfilter.c
gtk/tests/filtermodel.c